<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>徐州精诚特卫保安服务有限公司</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/warehousePurchaseApplyProcess.css" rel="stylesheet">
    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/style.js"></script>
    <script src="js/warehousePurchaseApplyProcess.js"></script>
    <script src="js/global.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">OA系统</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="personnelAnalysis.html">人事管理</a></li>
                <!--<li><a href="marketingManager.html">营销管理</a></li>-->
                <li><a href="operationProjectManager.html">运营管理</a></li>
                <!--<li><a href="financialManager.html">财务管理</a></li>-->
                <li class="active"><a href="warehouseGoodsBaseInformation.html">采购管理</a></li>
                <li><a href="ManageDepartment.html">基本设置</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container-fluid main-body">
    <div id="left-nav" class="">
        <div class="left-nav-userInfo">
            <div class="userHead">
                <a href="personnelCenter.html"><img class="userImg" src="imgs/user.png" href="personnelCenter.html" data-toggle="tooltip" data-placement="bottom" title="个人中心"></a>
            </div>
            <div class="userTitle">
                <p></p><span class="glyphicon glyphicon-log-out" data-toggle="tooltip" data-placement="top" title="注销" onclick="logout()" aria-hidden="true"></span>
            </div>
        </div>
        <ul class="left-nav-menu">
            <li class="left-nav-menu-li" id="warehouseCheck-menu">
                <a href="warehouseCheck.html" class="menu-link">
                    <img src="imgs/warehouse.png">
                    <div>库存盘点</div>
                </a>
            </li>
            <li class="left-nav-menu-li">
                <a href="warehouseGoodsBaseInformation.html" class="menu-link">
                    <img src="imgs/addressbook.png">
                    <div>物品基本信息</div>
                </a>
            </li>
            <li class="left-nav-menu-li">
                <a class="menu-link">
                    <img src="imgs/brush_fill.png">
                    <div>采购流程    <span class="glyphicon glyphicon-triangle-bottom"></span></div>
                </a>
                <ul class="sub-menu">
                    <li class="sub-menu-li sub-li-active">
                        <a href="warehousePurchaseApplyProcess.html" class="sub-menu-link">
                            流程设置
                        </a>
                    </li>
                    <li class="sub-menu-li">
                        <a href="warehousePurchaseApply.html" class="sub-menu-link">
                            采购申请
                        </a>
                    </li>
                    <li class="sub-menu-li">
                        <a href="warehousePurchaseAudit.html" class="sub-menu-link">
                            采购审核
                        </a>
                    </li>
                </ul>
            </li>
            <li class="left-nav-menu-li">
                <a href="warehouseGoodsPushIn.html" class="menu-link">
                    <img src="imgs/task.png">
                    <div>物品入库</div>
                </a>
            </li>
            <li class="left-nav-menu-li">
                <a href="warehouseGoodsPullOut.html" class="menu-link">
                    <img src="imgs/manage.png">
                    <div>物品出库</div>
                </a>
            </li>
            <li class="left-nav-menu-li">
                <a href="warehouseGoodsGiveBack.html" class="menu-link">
                    <img src="imgs/coupons.png">
                    <div>物品归还</div>
                </a>
            </li>
        </ul>
    </div>
    <div id="" class="right-panel">
        <div class="nav-path">
            <div class="path-title">
                <ul class="path-ul">
                    <li>流程设置</li>
                </ul>
            </div>
        </div>
        <div class="main-body-content">
            <div class="top-body">
                <div class="search-content" style="height: 34px;">
                    <div class="search-left">
                        <div class="input-group col-xs-5">
                            <input type="text" id="processName-input" class="form-control" placeholder="按名称搜索">
                            <span class="input-group-btn">
                                        <button class="btn btn-default" type="button" onclick="getProcessByName()">搜索</button>
                                        <button class="btn btn-default" type="button" onclick="getAllProcess()">搜索全部</button>
                            </span>
                        </div>
                    </div>
                    <div class="search-right">
                        <button class="btn btn-default" data-toggle="modal" data-target="#myModal-makeSureDeleteInBatch">批量删除</button>
                        <button class="btn btn-default" data-toggle="modal" data-target="#myModal-addProcess" onclick="cleanProcessModal()">添加流程</button>
                    </div>
                </div>
            </div>
            <div class="table-body">
                <table class="table table-bordered">
                    <thead style="background-color: #F9FAFB">
                    <tr>
                        <th style="width: 34px"><input id="select-all" class="select-box" type="checkbox"></th>
                        <th>流程编号</th>
                        <th>流程名称</th>
                        <th>审核人1</th>
                        <th>审核人2</th>
                        <th style="width: 50px">修改</th>
                        <th style="width: 50px">删除</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    <tr class="table-tr hidden">
                        <td class="process-checkBox tbody-td-id" style="width: 34px"><input class="select-box select-sub-box" type="checkbox"></td>
                        <td class="process-id "></td>
                        <td class="process-name"></td>
                        <td class="process-auditor1"></td>
                        <td class="process-auditor2"></td>
                        <td class="">
                            <div>
                                <a class="" data-toggle="modal" data-target="#myModal-modifyProcess" onclick="setModifyProcessModal(this)">
                                    <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                                </a>
                            </div>
                        </td>
                        <td>
                            <div>
                                <a data-toggle="modal" data-target="#myModal-makeSureDelete" onclick="setMakeSureDeleteButtonValue(this)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="page-body">
                <ul class="page-ul">
                    <li class="page-ul-li">
                        <div class="input-group" style="width: 110px">
                            <input type="text" class="form-control skipPage" placeholder="">
                            <span class="input-group-btn">
                                  <button id="jump-button" class="btn btn-default" type="button" onclick="skipPage()">跳转</button>
                               </span>
                        </div>
                    </li>
                    <li class="page-ul-li"><a class="btn btn-default page-button" onclick="nextPage()"><span class="caret caret-left"></span></a></li>
                    <li class="page-ul-li" style="margin-top: 8px"><span class="currentPage"></span>/<span class="totalPage"></span></li>
                    <li class="page-ul-li"><a class="btn btn-default page-button" onclick="previousPage()"><span class="caret caret-right"></span></a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!------------------------------------------------添加流程modal---------------------------------------------------------------------->
<!---------------------------------------------------------------------------------------------------------------------->
<div class="modal fade" id="myModal-addProcess" tabindex="-1" role="dialog" aria-labelledby="myModalLabel-addProcess">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel-addProcess">添加流程</h4>
            </div>
            <div class="modal-body" style="padding: 15px 20px">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="modal-processName" class="col-xs-3 control-label"><span>*</span>流程名称：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-processName" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="modal-processAuditor1" class="col-xs-3 control-label"><span>*</span>审核人1：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-processAuditor1" onclick="getAllStaff_one(0)" data-toggle="modal" data-target="#myModal-selectOneStaff">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="modal-processAuditor2" class="col-xs-3 control-label"><span>*</span>审核人2：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-processAuditor2" onclick="getAllStaff_one(1)"data-toggle="modal" data-target="#myModal-selectOneStaff">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" onclick="addProcess()" data-dismiss="modal">确认</button>
            </div>
        </div>
    </div>
</div>
<!-------------------------------------------------修改物品基本信息modal--------------------------------------------------------------------->
<!---------------------------------------------------------------------------------------------------------------------->
<div class="modal fade" id="myModal-modifyProcess" tabindex="-1" role="dialog" aria-labelledby="myModalLabel-modifyProcess">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel-modifyProcess">修改物品基本信息</h4>
            </div>
            <div class="modal-body" style="padding: 15px 20px">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="modal-modifyProcessID" class="col-xs-3 control-label">流程编号：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-modifyProcessID" disabled="disabled">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="modal-modifyProcessName" class="col-xs-3 control-label"><span>*</span>流程名称：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-modifyProcessName" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="modal-modifyProcessAuditor1" class="col-xs-3 control-label"><span>*</span>审核人1：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-modifyProcessAuditor1" onclick="getAllStaff_one(2)" data-toggle="modal" data-target="#myModal-selectOneStaff">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="modal-modifyProcessAuditor2" class="col-xs-3 control-label"><span>*</span>审核人2：</label>
                        <div class="col-xs-7">
                            <input type="text" class="form-control" id="modal-modifyProcessAuditor2" onclick="getAllStaff_one(3)"data-toggle="modal" data-target="#myModal-selectOneStaff">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" onclick="modifyProcess()" data-dismiss="modal">确认</button>
            </div>
        </div>
    </div>
</div>
<!---------------------------------------------------------选择一个人modal--------------------------------------------------------->
<!------------------------------------------------------------------------------------------------------------------>
<div class="modal fade" id="myModal-selectOneStaff" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title col-xs-5" id="myModalLabel-selectOneStaff">选择员工</h4>
                <div class="col-xs-6 modal-searchInput">
                    <div class="input-group">
                        <div class="input-group-btn">
                            <button style="height: 28px;padding: 2px 2px;" class="btn btn-default dropdown-toggle" type="button" value="0" id="selectSearchWay-dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                姓名
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu" aria-labelledby="selectSearchWay-dropdownMenu">
                                <li><a value="0">姓名</a></li>
                                <li><a value="1">工号</a></li>
                                <li><a value="2">IC卡号</a></li>
                            </ul>
                        </div>
                        <input type="text" class="form-control" placeholder="">
                        <span class="input-group-addon glyphicon glyphicon-search" onclick="searchOneByName_modal(this)" aria-hidden="true"></span>
                    </div>
                </div>
            </div>
            <div class="modal-body" style="padding: 0px 20px;font-size: 14px">
                <form id="form-selectOneStaff" class="form-horizontal">
                    <div class="form-group " style="margin-bottom: 0px;">
                        <ul class="selectOneStaff-department-ul" style="height: 200px;overflow-y: auto;">
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                            <li class="selectOneStaff-department-li hidden" style="cursor: pointer">
                                <img class="departmentName-img" src="imgs/addition.png" height="20px" style="margin-top: -4px">
                                <span class="departmentName-span"></span>
                                <ul class="selectOneStaff-staff-ul hidden">
                                </ul>
                            </li>
                        </ul>
                        <ul class="selectOneStaff-staff-ul2 col-xs-12 hidden" style="height: 200px;overflow-y: auto;">

                        </ul>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary">确认</button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade bs-example-modal-sm" id="myModal-makeSureDelete" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" value="">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header" style="padding: 5px 15px">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            </div>
            <div class="modal-body">
                是否确认要删除？
                <button type="button" class="btn btn-default" data-dismiss="modal" style="float: right; margin-left: 5px">取消</button>
                <button type="button" class="btn btn-primary" style="float: right;" onclick="makeSureDelete()">确认</button>
            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-sm" id="myModal-makeSureDeleteInBatch" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" value="">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header" style="padding: 5px 15px">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            </div>
            <div class="modal-body">
                是否确认要批量删除？
                <button type="button" class="btn btn-default" data-dismiss="modal" style="float: right; margin-left: 5px">取消</button>
                <button type="button" class="btn btn-primary" style="float: right;" onclick="deleteInBatch()" >确认</button>
            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>
</body>
</html>